﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElementLib
{
    public class Distance
    {
        public List<double> distance;
        public string parentInfo;
        public Distance()
        {

        }

        public Distance(List<double>distance,string parentInfo)
        {
            this.distance = distance;
            this.parentInfo = parentInfo;
        }
        public string ParentInfo
        {
            get { return parentInfo; }
            set { parentInfo = value; }
        }
        public List<double> Distances
        {
            get { return distance; }
            set { distance = value; }
        }

        public override string ToString()
        {
            return parentInfo+"距离:"+distance[0];
        }
    }
}
